#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <string>
#include <QMainWindow>
namespace Ui {
class MainWindow;
}


using std::string;

namespace ImitateTansfer{class CxTransFacade;}


class MainWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit MainWindow(QWidget *parent = 0);


    ~MainWindow();

private:

    void                PushStr(const char *str);

signals:
    void                sig_currentFrame(int ,double );


private slots:
    void on_commandLinkButton_clicked();

    void on_commandLinkButton_2_clicked();

    void on_commandLinkButton_3_clicked();

    void on_commandLinkButton_4_clicked();

    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

public :

    void                            slot_clientconnect(size_t );

    void                            slot_clientdisconnect(size_t );

    void                            SetFacade(ImitateTansfer::CxTransFacade *facade);



private slots:
    void                            slot_cuurentFrame(int ,double );

    void                            slot_setframe_1(int );
    void                            slot_setframe_2(int );
    void                            slot_setframe_3(int );
    void                            slot_setframe_4(int );
private:
    ImitateTansfer::CxTransFacade   *m_facade;

    Ui::MainWindow  *ui;
};

#endif // MAINWINDOW_H
